<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>darktable</Name>
        <Homepage>https://darktable.org/</Homepage>
        <Packager>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Packager>
        <License>GPL-3.0</License>
        <PartOf>multimedia.graphics</PartOf>
        <Summary>darktable is an open source photography workflow application and RAW developer.</Summary>
        <Description>darktable is an open source photography workflow application and RAW developer. A virtual lighttable and darkroom for photographers.</Description>
        <Archive type="tarxz" sha1sum="1f84d1d18677797215c0a71886ad15954c10da41">
            https://github.com/darktable-org/darktable/releases/download/release-4.2.0/darktable-4.2.0.tar.xz
        </Archive>
        <BuildDependencies>
            <Dependency>llvm</Dependency>
            <Dependency>cmake</Dependency>
            <Dependency>ninja</Dependency>
            <Dependency>ccache</Dependency>
            <Dependency>libgomp</Dependency>
            <Dependency>intltool</Dependency>
            <Dependency>lua-devel</Dependency>
            <Dependency>llvm-libs</Dependency>
            <Dependency>llvm-mlir</Dependency>
            <Dependency>llvm-polly</Dependency>
            <Dependency>gmic-devel</Dependency>
            <!-- <Dependency>gtk2-devel</Dependency> -->
            <Dependency>gtk3-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>webp-devel</Dependency>
            <Dependency>tiff-devel</Dependency>
            <Dependency>cups-devel</Dependency>
            <Dependency>curl-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>exiv2-devel</Dependency>
            <Dependency>gconf-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>lcms2-devel</Dependency>
            <Dependency>imath-devel</Dependency>
            <Dependency>colord-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>jasper-devel</Dependency>
            <Dependency>sqlite-devel</Dependency>
            <Dependency>libheif-devel</Dependency>
            <Dependency>lensfun-devel</Dependency>
            <Dependency>librsvg-devel</Dependency>
            <Dependency>libsdl2-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>pugixml-devel</Dependency>
            <Dependency>libsoup-devel</Dependency>
            <Dependency>openexr-devel</Dependency>
            <Dependency>mesa-glu-devel</Dependency>
            <Dependency>flickcurl-devel</Dependency>
            <Dependency>iso-codes-devel</Dependency>
            <Dependency>json-glib-devel</Dependency>
            <Dependency>libXrandr-devel</Dependency>
            <Dependency>libsecret-devel</Dependency>
            <Dependency>openjpeg2-devel</Dependency>
            <Dependency>colord-gtk-devel</Dependency>
            <Dependency>libgnome-keyring</Dependency>
            <Dependency>libgphoto2-devel</Dependency>
            <Dependency>llvm-clang-devel</Dependency>
            <Dependency>ghostscript-devel</Dependency>
            <Dependency>desktop-file-utils</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>perl-Image-ExifTool</Dependency>
            <Dependency>GraphicsMagick-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <!-- <Patch level="1">darktable-openexr3.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>darktable</Name>
        <Summary>darktable is an open source photography workflow application and RAW developer.</Summary>
        <RuntimeDependencies>
            <Dependency>lua</Dependency>
            <Dependency>gmic</Dependency>
            <Dependency>webp</Dependency>
            <Dependency>cups</Dependency>
            <Dependency>curl</Dependency>
            <Dependency>gtk3</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>mesa</Dependency>
            <Dependency>tiff</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>icu4c</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>lcms2</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>imath</Dependency>
            <Dependency>colord</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>sqlite</Dependency>
            <Dependency>libheif</Dependency>
            <Dependency>libxml2</Dependency>
            <Dependency>pugixml</Dependency>
            <Dependency>libsdl2</Dependency>
            <Dependency>lensfun</Dependency>
            <Dependency>librsvg</Dependency>
            <Dependency>libsoup</Dependency>
            <Dependency>libgomp</Dependency>
            <Dependency>mesa-glu</Dependency>
            <Dependency>flickcurl</Dependency>
            <Dependency>libXrandr</Dependency>
            <Dependency>libsecret</Dependency>
            <Dependency>openjpeg2</Dependency>
            <Dependency>json-glib</Dependency>
            <Dependency>colord-gtk</Dependency>
            <Dependency>exiv2-libs</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency>libgphoto2</Dependency>
            <Dependency>ghostscript</Dependency>
            <Dependency>openexr-libs</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency>GraphicsMagick</Dependency>
            <Dependency>libgnome-keyring</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="library">/usr/lib/</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="data">/usr/share/icons</Path>
            <Path fileType="data">/usr/share/metainfo</Path>
            <Path fileType="data">/usr/share/darktable</Path>
            <Path fileType="library">/usr/lib/darktable</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="doc">/usr/share/doc/darktable</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
        </Files>
    </Package>

    <History>
        <Update release="13">
            <Date>2022-12-31</Date>
            <Version>4.2.0</Version>
            <Comment>Version bump.</Comment>
            <Name>fury</Name>
            <Email>uglyside@yandex.ru</Email>
        </Update>
        <Update release="12">
            <Date>2021-02-24</Date>
            <Version>3.4.1</Version>
            <Comment>Version bump and rebuild.</Comment>
            <Name>Blue Devil</Name>
            <Email>bluedevil@sctzine.com</Email>
        </Update>
        <Update release="11">
            <Date>2021-01-19</Date>
            <Version>3.4.0</Version>
            <Comment>Major version bump.</Comment>
            <Name>Blue Devil</Name>
            <Email>bluedevil@sctzine.com</Email>
        </Update>
        <Update release="10">
            <Date>2020-09-20</Date>
            <Version>3.2.1</Version>
            <Comment>Minor version bump and translations added</Comment>
            <Name>Blue Devil</Name>
            <Email>bluedevil@sctzine.com</Email>
        </Update>
        <Update release="9">
            <Date>2020-03-28</Date>
            <Version>3.0.1</Version>
            <Comment>Version bump.</Comment>
            <Name>İdris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2020-03-05</Date>
            <Version>3.0.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2019-11-05</Date>
            <Version>2.6.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2018-10-13</Date>
            <Version>2.4.4</Version>
            <Comment>Version bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2018-09-01</Date>
            <Version>2.2.5</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2018-02-14</Date>
            <Version>2.2.5</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-10-06</Date>
            <Version>2.2.5</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2017-04-15</Date>
            <Version>2.2.4</Version>
            <Comment>Rebuild with new toolchain</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-11-13</Date>
            <Version>2.0.7</Version>
            <Comment>First Release</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
